﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using sharp_net;
using zkdao.Domain;

namespace zkdao.Application {

    [ServiceContract(Namespace = "www.zkdao.com")]
    public interface IRebateService {

        [OperationContract]
        RebateData Get(Guid ID);

        [OperationContract]
        IEnumerable<RebateData> GetListPager(ref int count, int pageSize = 10, int pageIndex = 1);

        [OperationContract]
        RebateData Submit(RebateData subInfo, bool force, string[] imageIDs, string[] tagIDs);

        [OperationContract]
        void Approved(Guid ID);

        [OperationContract]
        void Update(RebateData dataObject);
    }
}